Check if one integer is an integer power of another

join shbcf.ru